<?php echo $this->render($this->includeDir . '/toolbar.php');?>
<?php 
	$optionStatus = array(
						'pending' => 'Chờ xử lý',
						'appove' => 'Chấp nhận lịch hẹn',
						'deny' => 'Không chấp nhận lịch hẹn'
						);
	$full_name 	= Zendvn_Filter_Filter::filterContent($this->Item['full_name'],'filter');
 	$email 		= Zendvn_Filter_Filter::filterContent($this->Item['email'],'filter');
 	$phone 		= Zendvn_Filter_Filter::filterContent($this->Item['phone'],'filter');
   	$status 	= Zendvn_Filter_Filter::filterContent($this->Item['status'],'filter');
   	$content 	= Zendvn_Filter_Filter::filterContent($this->Item['content'],'filter');
   	$doctor_comment	= Zendvn_Filter_Filter::filterContent($this->Item['doctor_comment'],'filter');
                 			
  	$date_appointment = date('d/m/Y H:i', strtotime($this->Item['date_appointment']));
   	$created	= date('d/m/Y H:i:s', strtotime($this->Item['created']));
					 
	$arrRow = array(
					array('label'=>$this->translate('Họ và tên'),'info'=>$full_name),	
					array('label'=>$this->translate('Email'),'info'=>$email),					
					array('label'=>$this->translate('Số điện thoại'),'info'=>$phone),
					array('label'=>$this->translate('Ngày khám'),'info'=>$date_appointment),
					array('label'=>$this->translate('Ngày gửi yêu cầu'),'info'=>$created),
					array('label'=>$this->translate('Nội dung'),'info'=>$content),
					array('label'=>$this->translate('Bác sỹ trả lời'),'info'=>$doctor_comment),
					array('label'=>$this->translate('Trạng thái'),'info'=>$optionStatus[$status]),
				);
?>
<div id="element-box">
	<div class="m">
		<div class="form-table">
            	<fieldset class="admin-fieldset">
                <legend class="admin-legend">Form Detail</legend>
            	<table width="100%" border="0">
                	<?php echo $this->partialLoop('row-info.php',$arrRow);?>
                </table>
                <div class="clr"></div>
                </fieldset>
            </div>
            <div class="clr"></div>
	</div>
</div>
